notify

Post a notification to be shown in the status bar, stream, etc.

Parameters

id

the ID of the notification

notification

the notification to post to the system


Post a notification to be shown in the status bar, stream, etc.

Parameters

tag

the string identifier for a notification. Can be null.

id

the ID of the notification. The pair (tag, id) must be unique within your app.

notification

the notification to post to the system


Post a number of notifications, to be shown in the status bar, stream, etc. Each notification will attempt to be posted in the order provided in the notificationWithIds list. Each notification must have a provided id and may have a provided tag. This is the preferred method for posting groups of notifications, to improve sound and animation behavior.